<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
    xmlns:s="http://jboss.com/products/seam/taglib"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:rich="http://richfaces.org/rich"
    template="layout/template.xhtml">

    <ui:define name="body">

        <h1>Welcome to Seam!</h1>
        <rich:panel>
            <h:panelGrid columns="2">
                <h:graphicImage value="/img/seamlogo.png" alt="Seam logo"/>
                <s:div styleClass="info">
                <h1>Link Library</h1>
                    <p><strong>Welcome</strong> to our link library</p>
                    <p>This is provided to you by Reto Knupp and Michael Moos</p>
                    <p>This list is <s:link id="SeeLinks" view="/links.xhtml" value=" readable " action="#{navigationHandler.SeeLinks}"  /> by anyone. <br/>
                    To add or edit links, you have to <s:link id="LoginId" view="/login.xhtml" value=" log in " /> first</p>
                    
                    <p>In case you still don't have a user ID, you may <s:link id="LoginId" view="/register.xhtml" value="register here" /> (not yet implemented!)</p>
                </s:div>
            </h:panelGrid>
        </rich:panel>

    </ui:define>
</ui:composition>
